#pragma once
#include<map>
using namespace std;
class Model;
class Viewer;
class Controller
{
public:
	Controller(void);
	virtual ~Controller(void);
	void Register(Model *pModel, Viewer *pViewer);
	void UnRegister(Model *pModel, Viewer *pViewer);
	void Notify(Model *pModel);
private:
	multimap<Model*, Viewer*> *m_pMVMap;
};

